import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import router from './router'
import App from './App.vue'
import './assets/common.scss'
import cron from './components/cron/cron.vue'
import './util/directive'
import * as echarts from 'echarts'
// import load from './util/load'

// load()
Vue.use(ElementUI);
Vue.component('cron', cron)
Vue.config.productionTip = false
Vue.prototype.$echarts = echarts

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')

window.logjson = (data) => {
  console.log(JSON.parse(JSON.stringify(data)))
}